import numpy as np
import pandas as pd
from matplotlib import pyplot as plt

np.random.seed(123456)
ts = pd.Series(np.random.randn(100), index=pd.date_range('1/1/2012', periods=100, freq='H'))
ts = ts.cumsum()
ts.plot()